package com.project.service.impl;

import com.project.bean.ContryBean;
import com.project.mapper.IContryMapper;
import com.project.service.IContryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author(王思翰)
 * @Description(类的描述)国家业务实现类
 * @Date(创建时间) 2021/7/22 15:03
 */
@Service
@Transactional
public class ContryServiceImpl implements IContryService {

    @Autowired
    IContryMapper mapper;


    @Override
    public List<ContryBean> findAll() {
        return mapper.findAll();
    }
}
